//
//  BTSlideBarItem.h
//  BaseTools
//
//  Created by 李挺哲 on 15/8/27.
//  Copyright (c) 2015年 ltz. All rights reserved.
//

#import <UIKit/UIKit.h>
@class BTSlideBarItem ;
@protocol BTSlideBarItemDelegate <NSObject>

- (void)slideBarItemSelected:(BTSlideBarItem *)item;

@end


@interface BTSlideBarItem : UIView

@property (assign, nonatomic) BOOL selected;
@property (weak, nonatomic) id<BTSlideBarItemDelegate> delegate;

- (void)setItemTitle:(NSString *)title;
- (void)setItemTitleFont:(CGFloat)fontSize;
- (void)setItemTitleColor:(UIColor *)color;
- (void)setItemSelectedTileFont:(CGFloat)fontSize;
- (void)setItemSelectedTitleColor:(UIColor *)color;

+ (CGFloat)widthForTitle:(NSString *)title;



@end
